Skip to main content

Delete Endpoints

Route

/v2/endpoints

Description

Remove endpoints (sensors) from Cyberhaven management. This operation permanently removes the endpoint from the platform and cannot be undone.

Method

DELETE

Inputs

ParameterTypeRequiredDescription
idsarray[string]YesArray of endpoint IDs to delete (max 100)

Request Example

{
"ids": ["endpoint-123", "endpoint-456", "endpoint-789"]
}

Output

FieldTypeDescription
deleted_countintegerNumber of endpoints successfully deleted
errorsarray[Error]Any errors encountered during deletion

Error Object Structure

FieldTypeDescription
endpoint_idstringID of endpoint that failed to delete
codestringError code identifier
messagestringHuman-readable error description

Rate Limit

  • 60 requests per minute per API key
  • 5 concurrent requests per endpoint

Example Response

{
"deleted_count": 2,
"errors": [
{
"endpoint_id": "endpoint-789",
"code": "ENDPOINT_NOT_FOUND",
"message": "Endpoint not found or already deleted"
}
]
}